class Person{
	private	int age;
	public void setAge(int age){
		if(age < 0 || age > 200)
			this.age = 0;
		else{
			this.age = age;
		}
	}

	public int getAge(){
		return age;
	}

}

class Student extends Person {
	private String school;
	
	public void setSchool(String school) {	
			this.school = school;
	}

	public String getSchool(){
		return school;
	}

	public Student(String school) {
		this.school = school;
	}
	
}

public class Ext2{
	public static void main(String args[]) {
		Student stu1 = new Student("ustc");

		stu1.setAge( 10 );
		System.out.println(stu1.getAge());	
		System.out.println(stu1.getSchool());
	}	
}














